home *** CD-ROM | disk | FTP | other *** search
- #ifndef __DOCUMENT__
- #define __DOCUMENT__
-
- #ifndef __WINDOWS__
- #include <Windows.h>
- #endif
-
- #ifndef __EVENTS__
- #include <Events.h>
- #endif
-
- #define kIconFamily 1
-
- #if STRICT_WINDOWS
- void DoContentClick(WindowRef aWindow, EventRecord *anEvent);
- void DoDrawDocument(WindowRef aWindow);
- OSErr DoWriteDocument(WindowRef aWindow, short aDFRefNum);
- OSErr DoReadDocument(WindowRef aWindow);
- OSErr DoRemoveDocumentData(WindowRef aWindow);
- #else
- void DoContentClick(WindowPtr aWindow, EventRecord *anEvent);
- void DoDrawDocument(WindowPtr aWindow);
- OSErr DoWriteDocument(WindowPtr aWindow, short aDFRefNum);
- OSErr DoReadDocument(WindowPtr aWindow);
- OSErr DoRemoveDocumentData(WindowPtr aWindow);
- #endif
-
- #endif